#ifndef THREAD_ANNOTATIONS_FIX_H
#define THREAD_ANNOTATIONS_FIX_H

// 定义所有缺失的线程注解宏为空操作
#ifndef LOCKS_EXCLUDED
#define LOCKS_EXCLUDED(...)
#endif

#ifndef GUARDED_BY
#define GUARDED_BY(x)
#endif

#ifndef EXCLUSIVE_LOCKS_REQUIRED
#define EXCLUSIVE_LOCKS_REQUIRED(...)
#endif

#ifndef SHARED_LOCKS_REQUIRED
#define SHARED_LOCKS_REQUIRED(...)
#endif

#ifndef ACQUIRED_BEFORE
#define ACQUIRED_BEFORE(...)
#endif

#ifndef ACQUIRED_AFTER
#define ACQUIRED_AFTER(...)
#endif

#ifndef REQUIRES
#define REQUIRES(...)
#endif

#ifndef ACQUIRE
#define ACQUIRE(...)
#endif

#ifndef RELEASE
#define RELEASE(...)
#endif

#ifndef EXCLUDES
#define EXCLUDES(...)
#endif

#ifndef ASSERT_EXCLUSIVE_LOCK
#define ASSERT_EXCLUSIVE_LOCK(...)
#endif

#ifndef ASSERT_SHARED_LOCK
#define ASSERT_SHARED_LOCK(...)
#endif

#ifndef RETURN_CAPABILITY
#define RETURN_CAPABILITY(x)
#endif

#ifndef NO_THREAD_SAFETY_ANALYSIS
#define NO_THREAD_SAFETY_ANALYSIS
#endif

#endif // THREAD_ANNOTATIONS_FIX_H
